package com.alibaba.algo.apiimpl.feign;

import com.alibaba.algo.Application;
import com.alibaba.algo.cooperation.common.BaseResult;
import com.alibaba.algo.cooperation.feign.vo.res.SysPositionVO;
import com.alibaba.fastjson.JSON;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author : WangZhiPan
 * @date : 2021/9/24 11:02
 */
@SpringBootTest(classes = Application.class)
@RunWith(SpringRunner.class)
@Slf4j
public class PositionFeignServiceTest {


    @Resource
    PositionFeignServiceImpl positionFeignService   ;

    @Test
    public void listTest() {
        BaseResult<List<SysPositionVO>> resp = positionFeignService.list(67L);
        log.info("resp==>{}", JSON.toJSONString(resp));
    }


}
